home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Room
/
The Games Room.iso
/
system
/
c
/
view80.doc
< prev
next >
Wrap
Text File
|
1996-09-08
|
9KB
|
252 lines
********************************************************************************
## ## ##### ##### #############
## ## ## ## ## ## ## ##
## ## ## ####### ## ## ## ## ## ## ## ##
## ## ## ## ## ### ## ##### ## ## ## ##
## ## ## ###### ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ##
### ## ####### ### ### ##### ##### #############
Version 2.00
Copyright ⌐ 1991 by
Federico Giannici
Viale Francia 4
90146 Palermo
Italy
All rights reserved.
My MC-Link (+39 6 4180440) code is MC4080.
********************************************************************************
View80 II is a fast and powerful ASCII Text-Reader.
This program is ShareWare.
It can be freely copied, provided that no change is made to the program or to
the documentation and that the archive is left intact. The program can't be
included in any commercial program without my written permission.
If you use View80 II, you have the moral duty to send me a contribution. The
suggested amount is $15 or Lire 20.000. In this way I can continue to improve
this already great program.
It's up to you!
View80 II works fine also with the Kickstart 2.0. Better still, it takes
advantage of some features of this new version of the operating system.
LOADING
~~~~~~~~~
You can load the program both from Workbench or CLI.
From Workbench
--------------
You can doubleclick the View80 icon or insert the View80 name and path in the
"Default Tool" of the icon of the textfile that you wish to read with View80.
You can also use multiple selection (with the SHIFT key) to choose one or more
files to load automatically.
From CLI
--------
You can get the usual help specifying a "?" as first argument (the rest of the
arguments are ignored). Typing "?" again, you will be given more help (a la
ARP).
Anyway the syntax is:
View80 [filenames or wildcards] [NODETACH] [ICONIFY].
Normally View80 detaches itself from the starting CLI. To avoid this you can
specify the NODETACH keyword.
With the ICONIFY keyword you can freeze immediately View80 in the iconify
status. It's useful to run View80 and set it in "stand by" with your startup-
sequence.
To specify a file named 'nodetach' or 'iconify' you can enclose its name between
quotes (").
THE LIBRARIES
~~~~~~~~~~~~~~~
View80 II makes use of three libraries not present in the standard Workbench
disk. It works also without any library, but to get the best of it you have to
copy the following libraries (included in this archive) in your "LIBS:"
directory.
- req.library: for the file-requester and the color-requester.
- arp.library: for the pattern-matching in file loading.
- powerpacker.library: to decrunch PowerPacker's crunched data files.
To load View80 II from any disk without having to Assign the "LIBS:" directory,
you may find useful an utility written by Nicola Salmoria, whose name is
"LibReq". It allows to load libraries, devices and fonts from any mounted
volume, and displayes a requester if such files cannot be opened. The current
(15 Feb 91) version of LibReq is 1.5.
THE CONFIGURATION FILE
~~~~~~~~~~~~~~~~~~~~~~~~
When you load View80 II, it searches its configuration file: "View80.config".
First, it searches in the "S:" directory, then, if it's failed, it tries in the
same directory from where it was loaded (i.e. if you typed "dir/View80" it will
search in the "dir" directory).
This is to allow you to load View80, with your favorite configuration, from any
disk, without having to Assign the "S:" directory.
NOTE: View80 isn't currently able to find its directory if it is executed thru
the DOS "path" command. So, leave the configuration file in S: or use the
complete path to load View80.
The configuration includes the following information:
- The screen colors.
- The status of all the "Preferences" menu items.
- The status of all the "Settings" of every buffer.
- The last search string and the status of all the search parameters.
- The current directory of the file-requester and the contents of the "Hide" and
"Show" gadgets.
- The status of the range-mode gadget.
- The position of the iconify-window.
REPLYING TO THE REQUESTERS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can reply to any requester both with the mouse or the keyboard.
Pressing the ESC key you select the "CANCEL" gadget (if it's present) with any
other key you select the "OK" gadget (if it's present).
SCREEN DESCRIPTION
~~~~~~~~~~~~~~~~~~~~
One peculiarity of View80 is the horizontal scrollbar. It allows you to
visualize 80 columns of text and use the scrollbar at the same time.
At the left of the scrollbar there is the indicator of the current line number
(the 'current' line is the first on the screen). It works also as the jump-to
gadget (if the buffer isn't empty).
In the top of the screen there are (from left to right) the close gadget, the
range-mode gadget, the index-of-buffers gadget, the ten buffer gadgets, and
information about name, size and number of lines of the current file.
SELECTING A BUFFER
~~~~~~~~~~~~~~~~~~~~
View80 II can load up to 10 files in 10 different buffers.
There are many ways to change the currently shown buffer, both with the keyboard
and the mouse.
With the keyboard, press the corresponding numeric key. Alternatively you can
also press the numeric keys on the keypad while holding down the SHIFT or ALT
keys.
With the mouse, simply click on the buffer gadget.
NOTE: Double-clicking a buffer gadget will load a new file in that buffer.
You can also go up and down through the buffers with the F5-F6 keys or with the
"-" and "+" keys in the keypad.
Finally you can use the "Index Of Buffers" command or gadget (see later).
SCROLLING
~~~~~~~~~~~
View80 II can scroll through the text at five (actually they are six) different
speeds. The first three speeds are very smooth, both forwards and backwards. Try
to find another program that gives you such a good scroll!
You can scroll both with keyboard and mouse.
Keyboard scrolling
------------------
You can scroll up and down with the corresponding arrow keys.
The spacebar activates the autoscroll: continue to scroll down without having to
hold down the key.
You can change the scroll speed at any time pressing one of the following keys:
CTRL --> Smooth-Scroll (slower)
SHIFT --> Fast-Scroll
ALT --> Turbo-Scroll
SHIFT & ALT --> Flash-Scroll (faster)
By using the LEFT or RIGHT arrow keys you can move through the text, page by
page (the last line of the previous page will be shown in order not to loose the
thread of what you was reading). If you press the SHIFT key the movement will be
carried out in Fast-Scroll.
By using the ALT key with the LEFT or RIGHT arrow keys you can jump to the top
or to the bottom of the text.
The numeric keypad normally works in a MS-DOS like manner.
The HELP key shows you a brief reminder of the functions of all the keys. So I
don't repeat that reminder here.
Pressing the HELP key with the SHIFT or ALT key you call the "Information"
requester.
Mouse scrolling
---------------
With the mouse you can scroll using the scrollbar or clicking on the screen. The
nearer to the top or bottom edge you click, the faster the text scrolls.
RANGE MODE
~~~~~~~~~~~~
You can select a range for a subsequent "Save", "Print", "Copy to the Clipboard"
or simply to mark a location.
To select a range you have to set View80 in the range-mode, selecting the first
item in the last menu or simply clicking on the "R" gadget in the top of the
screen.
While in range-mode, the mouse is used to select the range in the usual way. For
long selections you can use the "Select All", "Change Start of Range" and
"Change End of Range" menu-items in the rightmost menu.
When View80 is in range-mode you can continue to scroll with the mouse simply
clicking at the very left or right of the screen.
You can also set the range with the F1 and F2 keys, respectively to select the
start and end of the range
-------------
THE MENUS
-------------
In the rest of this document, I'll suppose you are not a stupid and I'll leave
out some details that you can understand by your own. If I haven't anything
interesting to say about some menu item I'll simply write "No comment".
---------
Project
---------
Load...
~~~~~~~
View80 II uses the well-known req.library file-requester. If the req.library
isn't available, View80 uses a very simple requester.
You can select up to 10 files (holding down the SHIF